package com.hq.service;

import com.hq.bean.*;
import com.hq.dao.AmountByProvinceDAO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AmountByProvinceServiceImpl implements AmountByProvinceService {

    @Resource
    private AmountByProvinceDAO amountByProvinceDAO;


    @Override
    public List<AmountByProvince> listByAmountProvince() {
        return amountByProvinceDAO.listByAmountProvince();
    }


    @Override
    public List<AmountByAge> listByAmountAge() {
        return amountByProvinceDAO.listByAmountAge();
    }

    @Override
    public List<AmountByGender> listByAmountGender() {
        return amountByProvinceDAO.listByAmountGender();
    }

    @Override
    public List<AmountByMarkAge> listAmountByMarkAge() {
        return amountByProvinceDAO.listAmountByMarkAge();
    }

    @Override
    public List<AmountByMarkGender> listAmountByMarkGender() {
        return amountByProvinceDAO.listAmountByMarkGender();
    }

    @Override
    public List<MarkProvince> listAmountByMarkProvince() {
        return amountByProvinceDAO.listAmountByMarkProvince();
    }

    @Override
    public List<CateGoryInfo> cate1List() {
        return amountByProvinceDAO.cate1List();
    }

    @Override
    public List<CateGoryInfo> cate2List() {
        return amountByProvinceDAO.cate2List();
    }

    @Override
    public List<CateGoryInfo> cate3List() {
        return amountByProvinceDAO.cate3List();
    }

    @Override
    public List<AmountByGenderAge> listAmountByGenderAge() {
        return amountByProvinceDAO.listAmountByGenderAge();
    }

    @Override
    public Double total() {
        return amountByProvinceDAO.total();
    }
}
